package top.scsoul.boot.entity;

import javax.validation.constraints.NotEmpty;
import java.util.Date;
import java.io.Serializable;

/**
 * (Customer)实体类
 *
 * @author 曹波涛
 * @since 2021-06-10
 */
public class Customer implements Serializable {
    private static final long serialVersionUID = -37793082198742681L;

    private Integer custId;
    @NotEmpty(message = "客户名称不能为空")
    private String custName;
    private Integer custUserId;
    private Integer custCreateId;
    @NotEmpty(message = "客户来源不能为空")
    private String custSource;
    @NotEmpty(message = "所属行业不能为空")
    private String custIndustry;
    @NotEmpty(message = "客户级别不能为空")
    private String custLevel;
    @NotEmpty(message = "联系人不能为空")
    private String custLinkman;
    @NotEmpty(message = "固定电话不能为空")
    private String custPhone;
    @NotEmpty(message = "移动电话不能为空")
    private String custMobile;
    @NotEmpty(message = "邮政编码不能为空")
    private String custZipcode;
    @NotEmpty(message = "联系地址不能为空")
    private String custAddress;

    private Date custCreatetime;


    public Integer getCustId() {
        return custId;
    }

    public void setCustId(Integer custId) {
        this.custId = custId;
    }

    public String getCustName() {
        return custName;
    }

    public void setCustName(String custName) {
        this.custName = custName;
    }

    public Integer getCustUserId() {
        return custUserId;
    }

    public void setCustUserId(Integer custUserId) {
        this.custUserId = custUserId;
    }

    public Integer getCustCreateId() {
        return custCreateId;
    }

    public void setCustCreateId(Integer custCreateId) {
        this.custCreateId = custCreateId;
    }

    public String getCustSource() {
        return custSource;
    }

    public void setCustSource(String custSource) {
        this.custSource = custSource;
    }

    public String getCustIndustry() {
        return custIndustry;
    }

    public void setCustIndustry(String custIndustry) {
        this.custIndustry = custIndustry;
    }

    public String getCustLevel() {
        return custLevel;
    }

    public void setCustLevel(String custLevel) {
        this.custLevel = custLevel;
    }

    public String getCustLinkman() {
        return custLinkman;
    }

    public void setCustLinkman(String custLinkman) {
        this.custLinkman = custLinkman;
    }

    public String getCustPhone() {
        return custPhone;
    }

    public void setCustPhone(String custPhone) {
        this.custPhone = custPhone;
    }

    public String getCustMobile() {
        return custMobile;
    }

    public void setCustMobile(String custMobile) {
        this.custMobile = custMobile;
    }

    public String getCustZipcode() {
        return custZipcode;
    }

    public void setCustZipcode(String custZipcode) {
        this.custZipcode = custZipcode;
    }

    public String getCustAddress() {
        return custAddress;
    }

    public void setCustAddress(String custAddress) {
        this.custAddress = custAddress;
    }

    public Date getCustCreatetime() {
        return custCreatetime;
    }

    public void setCustCreatetime(Date custCreatetime) {
        this.custCreatetime = custCreatetime;
    }

    @Override
    public String toString() {
        return "Customer{" +
                "custId=" + custId +
                ", custName='" + custName + '\'' +
                ", custUserId=" + custUserId +
                ", custCreateId=" + custCreateId +
                ", custSource='" + custSource + '\'' +
                ", custIndustry='" + custIndustry + '\'' +
                ", custLevel='" + custLevel + '\'' +
                ", custLinkman='" + custLinkman + '\'' +
                ", custPhone='" + custPhone + '\'' +
                ", custMobile='" + custMobile + '\'' +
                ", custZipcode='" + custZipcode + '\'' +
                ", custAddress='" + custAddress + '\'' +
                ", custCreatetime=" + custCreatetime +
                '}';
    }
}